package com.meilai.project.dto.media;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class MediaPointExportDTO {

    @ApiModelProperty("开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty("结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @ApiModelProperty("楼盘ids")
    private List<Long> building_ids;

    @ApiModelProperty("媒体类型ids,可不传")
    private List<Long> media_type_ids;

    @ApiModelProperty("是否按楼层分组进行统计")
    private Boolean floor_group = true;

    @ApiModelProperty("1:只统计A面 2:只统计B面")
    private Integer abType;
}
